<div class="search-widget">
    <form action="{% url 'blog:search' %}" method="get" class="search-form">
        <div class="field has-addons">
            <div class="control is-expanded">
                <input type="search"
                       class="input is-small"
                       name="keyword"
                       placeholder="输入关键词..."
                       value="{{ request.GET.keyword }}">
            </div>
            <div class="control">
                <button type="submit" class="button is-primary is-small">
                    <i class="fas fa-search"></i>
                </button>
            </div>
        </div>
    </form>
</div>